package com.example.pharmacy.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: asus
 * Date: 2024-12-25
 * Time: 18:11
 */
@Data
public class CartResult {
    private Integer cartId;
    private String picture;
    private String drugName;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal price;
    private Integer num;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal sumPrice;
}
